/**
 * @Title: ArticleVo.java
 * @Package com.alex.cms.web.vo
 * @Description: (描述该文件做什么)
 * @author Alex Lu
 * @date 2019年9月14日 下午8:03:14
 * @version V1.0
 */
package com.alex.cms.web.vo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import com.alex.cms.domain.CmsArticle;
import com.alex.cms.domain.CmsCategory;
import com.alex.cms.domain.CmsChannel;
import com.alex.cms.domain.CmsUser;

/**
 * @ClassName: ArticleVo
 * @Description: 页面所需要的文章信息
 * @author Alex Lu
 * @date 2019年9月14日 下午8:03:14
 *
 */
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ArticleVo extends CmsArticle {

	private static final long serialVersionUID = 1L;
	private CmsCategory category;
	private CmsChannel channel;
	private CmsUser author;
	public CmsCategory getCategory() {
		return category;
	}

	public void setCategory(CmsCategory category) {
		this.category = category;
	}

	public CmsChannel getChannel() {
		return channel;
	}

	public void setChannel(CmsChannel channel) {
		this.channel = channel;
	}

	public CmsUser getAuthor() {
		return author;
	}

	public void setAuthor(CmsUser author) {
		this.author = author;
	}

}
